package com.hzit.mmcb.core.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@ApiModel(description = "⾸⻚⽤户信息")
public class UserIndexVO {
 @ApiModelProperty(value = "⽤户id")
 private Long userId;
 @ApiModelProperty(value = "⽤户姓名")
 private String name;
 @ApiModelProperty(value = "⽤户昵称")
 private String nickName;
 @ApiModelProperty(value = "1：出借⼈ 2：借款⼈")
 private Integer userType;
 @ApiModelProperty(value = "⽤户头像")
 private String headImg;
 @ApiModelProperty(value = "绑定状态（0：未绑定，1：绑定成功 -1：绑定失败）")
 private Integer bindStatus;
 @ApiModelProperty(value = "帐户可⽤余额")
 private BigDecimal amount;
 @ApiModelProperty(value = "冻结⾦额")
 private BigDecimal freezeAmount;
 @ApiModelProperty(value = "上次登录时间")
 private LocalDateTime lastLoginTime;
}